import { Tabs } from 'antd'
import Common from './Common'
import CardComponent from './Card'
import List from './List'
import CheckableTag from './CheckableTag'
import Table from './Table'
export default function Antd() {
	const items = [
		{
			label: 'Common',
			key: '1',
			children: <Common />
		},
		{
			label: 'Card',
			key: '2',
			children: <CardComponent />
		},
		{
			label: 'List',
			key: '3',
			children: <List />
		},
		{
			label: 'CheckableTag',
			key: '4',
			children: <CheckableTag />
		},
		{
			label: 'Table',
			key: '5',
			children: <Table />
		}
	]
	return <Tabs items={items} />
}
